﻿using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace FacebookHackerCup2011.Tests
{
    [TestClass]
    public class FirstKvalificationTests
    {
        [TestMethod]
        public void Task1()
        {
            Assert.AreEqual(1, FirstKvalification.Task1(10));
            Assert.AreEqual(2, FirstKvalification.Task1(25));
            Assert.AreEqual(0, FirstKvalification.Task1(3));
            Assert.AreEqual(1, FirstKvalification.Task1(0));
            Assert.AreEqual(1, FirstKvalification.Task1(1));
        }

        [TestMethod]
        public void Task3()
        {
            Assert.AreEqual("cupfacebookforhackerstudentsstudious", FirstKvalification.Task3("facebook hacker cup for studious students"));
        }
    }
}
